package cn.online.qa.repository;

import cn.online.qa.entity.Answers;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AnswersServiceRepository extends JpaRepository<Answers,Long>, JpaSpecificationExecutor<Answers> {

    public List<Answers> findAllByQid(long id);

}
